*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/startback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color: #fdc241;
	position: relative;
}
#startBanner{
	width:100%;
	height: .96rem;
	position: absolute;
	left:0;
	top:1.37rem;
	background: url(../img/banner.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width:4.65rem;
	height: 1.38rem;
	position: absolute;
	left:0;
	right:0;
	top:7.69rem;
	margin: auto;
}
.linkBox,.fff{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:.02rem;
	height: .3rem;
	background: #8f2ae2;
}
.fff::after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:.02rem;
	height: .3rem;
	background: #ffffff;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#8f2ae2;
	text-align: center;
}
.fff .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	text-align: center;
	color:#ffffff;
}

#gameTips{
	height: 100%;
	background: url(../img/tipback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color: #1a1c1f;
	position: relative;
}
#iKnowBtn{
	position: absolute;
	width:2.54rem;
	height: .76rem;
	left:0;
	right:0;
	margin:auto;
	top:5.6rem;
}

#gamePage{
	width:100%;
	height: 100%;
	position: relative;
	background: url(../img/gameback.jpg) no-repeat 0 bottom;
	background-color: #e8eafc;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
}
#timer{
	width:1.77rem;
	height: .84rem;
	position: absolute;
	top:.22rem;
	left:.46rem;
	background: url(../img/timer.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	color:#ffffff;
	font-size: .36rem;
	text-align: right;
	line-height: .83rem;
	box-sizing: border-box;
	padding-right: .34rem;
}
#counter{
	width: 1.85rem;
	height: .79rem;
	position: absolute;
	top:.24rem;
	right:.46rem;
	background: url(../img/counter.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	color:#ffffff;
	font-size: .36rem;
	text-align: right;
	line-height: .77rem;
	box-sizing: border-box;
	padding-right: .2rem;
}
#counter:before{
	content:'X';
	margin-right:.02rem;
}
.person[data-type="1"]{
	width: 1.49rem;
	height: 2.12rem;
	position: absolute;
	background: url(../img/person1.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
.person[data-type="2"]{
	width: 1.18rem;
	height: 1.79rem;
	position: absolute;
	background: url(../img/person2.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
.person[data-type="3"]{
	width: 1.4rem;
	height: 1.94rem;
	position: absolute;
	background: url(../img/person3.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
.personIn[data-type="1"]{
	width: .79rem;
	height: 1.08rem;
	position: absolute;
	background: url(../img/person1-a.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
.personIn[data-type="2"]{
	width: .63rem;
	height: .91rem;
	position: absolute;
	background: url(../img/person2-a.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
.personIn[data-type="3"]{
	width: .58rem;
	height: .98rem;
	position: absolute;
	background: url(../img/person3-a.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	z-index: 9;
}
#guostArea{
	width: 100%;
	height: 7.5rem;
	left: 0;
	bottom: 2.09rem;
	position: absolute;
}
#failPage,#sucessPage{
	background: rgba(0,0,0,.6);
	position: absolute;
	top:0;
	left:0;
	width:100%;
	height: 100%;
	z-index: 10;
}
#failbox{
	width:6.5rem;
	height: 7rem;
	position: absolute;
	left:0;
	right:0;
	margin:auto;
	top:1.16rem;
	background: url(../img/failbox.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
#failwords{
	font-size: .24rem;
	color:#4f4783;
	line-height: .42rem;
	width:100%;
	text-align:center;
	padding-top:2.8rem;
}
#failwords span{
	color:#e60012;
}
.btn{
	width:2.54rem;
	height: .76rem;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
}
.failAgain{
	bottom: 1.98rem;
}
.failfriend{
	bottom: .85rem;
}
#successbox{
	width:6.5rem;
	height: 7.8rem;
	position: absolute;
	left:0;
	right:0;
	margin:auto;
	top:1.14rem;
	background: url(../img/successbox.png);
	-webkit-background-size: 100% 100%;
	background-size: 100% 100%;
}
#successwords{
	font-size: .24rem;
	color:#4f4783;
	line-height: .42rem;
	width:100%;
	text-align:center;
	padding-top:2.8rem;
}
#successwords span{
	color:#e60012;
}
.lottery{
	bottom: 2.84rem;
}
.again{
	bottom: 1.7rem;
}
.friend{
	bottom: .57rem;
}